<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      E.1.&nbsp;55-lfs.rules
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body class="lfs" id="lfs-8.0">
    <div class="navheader">
      <h4>
        Linux From Scratch - Version 8.0
      </h4>
      <h3>
        Appendix&nbsp;E.&nbsp;Udev configuration rules
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="eudev-rules.html" title=
          "Udev configuration rules">Prev</a>
          <p>
            Udev configuration rules
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="../appendices/licenses.html" title=
          "LFS Licenses">Next</a>
          <p>
            LFS Licenses
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="eudev-rules.html" title=
          "Appendix&nbsp;E.&nbsp;Udev configuration rules">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Linux From Scratch - Version 8.0 ">Home</a>
        </li>
      </ul>
    </div>
    <div class="wrap" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="lfsrules" name="lfsrules"></a>E.1. 55-lfs.rules
      </h1>
      <pre class="screen">
# /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS.

# Core kernel devices

# This causes the system clock to be set as soon as /dev/rtc becomes available.
SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"

# Comms devices

KERNEL=="ippp[0-9]*",       GROUP="dialout"
KERNEL=="isdn[0-9]*",       GROUP="dialout"
KERNEL=="isdnctrl[0-9]*",   GROUP="dialout"
KERNEL=="dcbri[0-9]*",      GROUP="dialout"
</pre>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="eudev-rules.html" title=
          "Udev configuration rules">Prev</a>
          <p>
            Udev configuration rules
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="../appendices/licenses.html" title=
          "LFS Licenses">Next</a>
          <p>
            LFS Licenses
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="eudev-rules.html" title=
          "Appendix&nbsp;E.&nbsp;Udev configuration rules">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Linux From Scratch - Version 8.0 ">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
